import Vue from 'vue'
import App from './App.vue'
import router from "./router";
import store  from "./store"
import  toast from "components/content/Tost"
//导入lazyload
import VueLazyload from "vue-lazyload";
//导入fastclick
import fastclick from "fastclick"
//把组件封装成插件安装vue中
Vue.use(toast)
Vue.config.productionTip = false
Vue.prototype.$bus=new Vue()
//使用attach 解决客户端快三百毫秒
fastclick.attach(document.body)
//使用增加懒加载的插件
Vue.use(VueLazyload)
new Vue({
  render: h => h(App),
  router,
  store,


}).$mount('#app')
